package com.flower8.sysconfig.exception;

import org.apache.shiro.authc.AuthenticationException;

import com.flower8.dto.ResponseInfo;

public class BJHAuthenticationException extends AuthenticationException {

	private ResponseInfo responseInfo;

	public BJHAuthenticationException(ResponseInfo responseInfo) {
		super();
		this.responseInfo = responseInfo;
		if (this.responseInfo == null) {
			this.responseInfo = new ResponseInfo();
		}
	}

	public ResponseInfo getResponseInfo() {
		return responseInfo;
	}
}
